package day04;

public class SwichCaseDemo {
    public static void main(String[] args) {
        int num = 2;
        switch (num){
            case 1:
                System.out.println(111);
                break;
            case  2://以此为入口
                System.out.println(222);
                break;//跳出swich
            case 3:
                System.out.println(333);
                break;
            case 9:
                System.out.println(999);
                break;
        }
    }
}
